
const system = {
    path: 'system',
    components: {
        default: () => import('@/views/system/Index'),
    },
    name: 'SystemConfig',
    meta: [{ title: '账户管理',url: '/system' }],
    children:[
        {
            path: 'users',
            components: {
            default: () => import('@/views/system/Users/Index'),
            },
            name: 'Users',
            meta: [{ title: '账户管理',url: '/system/users' },{ title: '用户管理',url: '/system/users' }],
            children:[
                {
                    path: 'users-sheet',
                    component: () => import('@/views/system/Users/Users-Sheet'),
                    name: 'UsersSheet',
                    meta: [{ title: '账户管理',url: '/system/users' },{ title: '用户管理',url: '/system/users' },{ title: '用户表单',url: '/system/users/users-sheet' }]
                }
            ]
        },
        {
            path: 'roles',
            components: {
            default: () => import('@/views/system/Roles/Index'),
            },
            name: 'Roles',
            meta: [{ title: '账户管理',url: '/users' },{ title: '角色管理',url: '/roles' }],
            children:[
                {
                    path: 'roles-sheet',
                    component: () => import('@/views/system/Roles/Roles-Sheet'),
                    name: 'RolesSheet',
                    meta: [{ title: '账户管理',url: '/system/users' },{ title: '角色管理',url: '/system/roles' },{ title: '角色表单',url: '/system/roles/roles-sheet' }]
                }
            ]
        },
        {
            path: 'plan',
            components: {
                default: () => import('@/views/system/Plan/Index'),
            },
            name: 'Plan',
            meta: [{ title: '账户管理',url: '/system/plan' },{ title: '计划任务',url: '/system/plan' }],
            children:[
                {
                    path: 'plan-sheet',
                    component: () => import('@/views/system/Plan/Plan-Sheet'),
                    name: 'PlanSheet',
                    meta: [{ title: '账户管理',url: '/system/plan' },{ title: '计划任务',url: '/system/plan' },{ title: '计划表单',url: '/system/plan/plan-sheet' }],
                }
            ]
        },
        {
            path: 'appsecretmanage',
            components: {
                default: () => import('@/views/system/AppSecretManage/Index'),
            },
            name: 'AppSecret',
            meta: [{ title: '外部接口',url: '/system/appsecretmanage' },{ title: 'AppSecret',url: '/system/appsecretmanage' }],
            children:[
                {
                    path: 'appsecretmanage-sheet',
                    component: () => import('@/views/system/AppSecretManage/AppSecretManage-Sheet'),
                    name: 'AppSecretManageSheet',
                    meta: [{ title: '外部接口',url: '/system/appsecretmanage' },{ title: 'AppSecret',url: '/system/appsecretmanage' },{ title: 'AppSecret表单',url: '/system/appsecretmanage/appsecretmanage-sheet' }],
                }
            ]
        }
    ]
}

export default system